package com.tingyuge.base.structrue.stack;

/**
 * @Created by xiaodao
 */
public interface Stack<E> {

    int getSize();

    boolean isEmpty();

    void push(E e);

    E peek();

    E pop();

}
